package com.example.ruanjian2012.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.Data;

/**
 * (Student)表实体类
 *
 * @author makejava
 * @since 2022-05-12 10:13:25
 */
@SuppressWarnings("serial")
@Data
public class Student extends Model<Student> {

    private Integer id;

    private String studentName;

    private String studentPassword;

    private String telphone;


    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

